package org.jeecg.qis.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 过程检验记录
 * @Author: LiCY
 * @Date:   2023-08-28
 * @Version: V1.0
 */
@Data
@TableName("qis_procrecord")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="qis_procrecord对象", description="过程检验记录")
public class QisProcrecord implements Serializable {
    private static final long serialVersionUID = 1L;

	/**表号*/
	@Excel(name = "表号", width = 15)
    @ApiModelProperty(value = "表号")
    @TableId
    private String recId;
	/**检验号*/
	@Excel(name = "检验号", width = 15)
    @ApiModelProperty(value = "检验号")
    private String checklistno;

    @Excel(name = "工序", width = 15)
    @ApiModelProperty(value = "工序")
    @TableField(exist = false)
    private String op;

	/**工单ID*/
	@Excel(name = "工单ID", width = 15)
    @ApiModelProperty(value = "工单ID")
    private String woid;
	/**产品或产品组*/
	@Excel(name = "产品或产品组", width = 15)
    @ApiModelProperty(value = "产品或产品组")
    private String partno;
	/**检验类型*/
	@Excel(name = "检验类型", width = 15)
    @ApiModelProperty(value = "检验类型")
    @Dict(dicCode = "record@chktyp")
    private String chktyp;
	/**检验种类*/
	@Excel(name = "检验种类", width = 15)
    @ApiModelProperty(value = "检验种类")
    @Dict(dicCode = "record@pdttyp")
    private String pdttyp;
	/**班次日期*/
	@Excel(name = "班次日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "班次日期")
    private Date shiftDate;
	/**班次*/
	@Excel(name = "班次", width = 15)
    @ApiModelProperty(value = "班次")
    private String shift;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    @Dict(dicCode = "checklist@status")
    private String status;
	/**结果*/
	@Excel(name = "结果", width = 15)
    @ApiModelProperty(value = "结果")
    @Dict(dicCode = "checklist@result")
    private String result;
	/**登录账号*/
	@Excel(name = "登录账号", width = 15)
    @ApiModelProperty(value = "登录账号")
    private String username;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date ctime;
}
